<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页/发现 - 图文视频社交App</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="components.css">
</head>
<body>
    <!-- 状态栏 -->
    <div class="status-bar">
        <div class="status-bar-time">14:30</div>
        <div class="status-bar-icons">
            <i class="fas fa-signal"></i>
            <i class="fas fa-wifi"></i>
            <i class="fas fa-battery-full"></i>
        </div>
    </div>

    <!-- 顶部导航 -->
    <div class="flex justify-between items-center px-4 py-2 bg-white">
        <div class="text-xl font-bold text-pink-600">发现</div>
        <div class="flex">
            <i class="fas fa-bell text-gray-600 mr-4 text-xl"></i>
            <i class="fas fa-paper-plane text-gray-600 text-xl"></i>
        </div>
    </div>

    <!-- 分类标签 -->
    <div class="bg-white px-4 py-3 overflow-x-auto whitespace-nowrap tags-scroll-container">
        <div class="tag active">推荐</div>
        <div class="tag">热门</div>
        <div class="tag">关注</div>
        <div class="tag">美食</div>
        <div class="tag">旅行</div>
        <div class="tag">时尚</div>
        <div class="tag">游戏</div>
        <div class="tag">音乐</div>
        <div class="tag">电影</div>
    </div>

    <!-- 内容区域 -->
    <div class="content-container">
        <!-- 内容卡片1 - 视频 -->
        <div class="content-card mx-4 mt-4">
            <div class="card-header">
                <img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330" alt="用户头像" class="avatar">
                <div>
                    <div class="username">美食达人</div>
                    <div class="post-time">2小时前</div>
                </div>
                <button class="ml-auto primary-button text-xs py-1 px-3">关注</button>
            </div>
            <div class="card-content">
                <div class="content-title">超简单的家常菜教程</div>
                <div class="content-text">今天教大家做一道简单又美味的家常菜，只需要十分钟就能完成！#美食 #家常菜 #烹饪技巧</div>
                <div class="content-video" onclick="playVideo(this)">
                    <img src="https://images.unsplash.com/photo-1546069901-ba9599a7e63c" alt="视频封面" style="width:100%; height:100%; object-fit:cover;">
                    <i class="fas fa-play-circle video-play-icon"></i>
                </div>
            </div>
            <div class="card-footer">
                <div class="action-button like-button">
                    <i class="far fa-heart action-icon"></i>
                    <span>1.2k</span>
                </div>
                <div class="action-button">
                    <i class="far fa-comment action-icon"></i>
                    <span>328</span>
                </div>
                <div class="action-button">
                    <i class="far fa-bookmark action-icon"></i>
                    <span>收藏</span>
                </div>
                <div class="action-button">
                    <i class="far fa-share-square action-icon"></i>
                    <span>分享</span>
                </div>
            </div>
        </div>

        <!-- 内容卡片2 - 图文 -->
        <div class="content-card mx-4 mt-4">
            <div class="card-header">
                <img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d" alt="用户头像" class="avatar">
                <div>
                    <div class="username">旅行摄影师</div>
                    <div class="post-time">昨天</div>
                </div>
                <button class="ml-auto primary-button text-xs py-1 px-3">关注</button>
            </div>
            <div class="card-content">
                <div class="content-title">日本京都的樱花季</div>
                <div class="content-text">春天的京都，樱花盛开，美不胜收。分享一组我在京都拍摄的樱花照片，希望大家喜欢！#旅行 #日本 #樱花 #摄影</div>
                <div class="grid grid-cols-2 gap-2 mb-3">
                    <img src="https://images.unsplash.com/photo-1522383225653-ed111181a951" alt="樱花照片1" class="rounded-lg w-full h-40 object-cover">
                    <img src="https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e" alt="樱花照片2" class="rounded-lg w-full h-40 object-cover">
                    <img src="https://images.unsplash.com/photo-1504198453319-5ce911bafcde" alt="樱花照片3" class="rounded-lg w-full h-40 object-cover">
                    <img src="https://images.unsplash.com/photo-1513407030348-c983a97b98d8" alt="樱花照片4" class="rounded-lg w-full h-40 object-cover">
                </div>
            </div>
            <div class="card-footer">
                <div class="action-button like-button">
                    <i class="far fa-heart action-icon"></i>
                    <span>3.5k</span>
                </div>
                <div class="action-button">
                    <i class="far fa-comment action-icon"></i>
                    <span>512</span>
                </div>
                <div class="action-button">
                    <i class="far fa-bookmark action-icon"></i>
                    <span>收藏</span>
                </div>
                <div class="action-button">
                    <i class="far fa-share-square action-icon"></i>
                    <span>分享</span>
                </div>
            </div>
        </div>

        <!-- 内容卡片3 - 视频 -->
        <div class="content-card mx-4 mt-4">
            <div class="card-header">
                <img src="https://images.unsplash.com/photo-1539571696357-5a69c17a67c6" alt="用户头像" class="avatar">
                <div>
                    <div class="username">数码科技</div>
                    <div class="post-time">3天前</div>
                </div>
                <button class="ml-auto primary-button text-xs py-1 px-3">关注</button>
            </div>
            <div class="card-content">
                <div class="content-title">最新手机评测</div>
                <div class="content-text">这款新上市的旗舰手机到底值不值得买？看完这个评测你就知道了！#科技 #手机 #评测 #数码</div>
                <div class="content-video" onclick="playVideo(this)">
                    <img src="https://images.unsplash.com/photo-1511707171634-5f897ff02aa9" alt="视频封面" style="width:100%; height:100%; object-fit:cover;">
                    <i class="fas fa-play-circle video-play-icon"></i>
                </div>
            </div>
            <div class="card-footer">
                <div class="action-button like-button">
                    <i class="far fa-heart action-icon"></i>
                    <span>2.8k</span>
                </div>
                <div class="action-button">
                    <i class="far fa-comment action-icon"></i>
                    <span>456</span>
                </div>
                <div class="action-button">
                    <i class="far fa-bookmark action-icon"></i>
                    <span>收藏</span>
                </div>
                <div class="action-button">
                    <i class="far fa-share-square action-icon"></i>
                    <span>分享</span>
                </div>
            </div>
        </div>
    </div>

    <!-- 底部导航栏 -->
    <div class="tab-bar">
        <div class="tab-item active">
            <i class="fas fa-home tab-icon"></i>
            <span>首页</span>
        </div>
        <div class="tab-item">
            <i class="fas fa-search tab-icon"></i>
            <span>搜索</span>
        </div>
        <div class="tab-item">
            <i class="fas fa-plus-circle tab-icon" style="font-size: 32px; margin-top: -5px;"></i>
            <span>创作</span>
        </div>
        <div class="tab-item">
            <i class="far fa-bell tab-icon"></i>
            <span>消息</span>
        </div>
        <div class="tab-item">
            <i class="far fa-user tab-icon"></i>
            <span>我的</span>
        </div>
    </div>

    <script src="app.js"></script>
</body>
</html> 